package com.xiaowenxiong.entity;

import javax.validation.constraints.NotNull;
import java.util.List;

public class Student {
    @NotNull(message = "课程号不可为空！")
    private String sno;
    @NotNull(message = "课程号不可为空！")
    private String sname;
    @NotNull(message = "课程号不可为空！")
    private String ssex;
    @NotNull(message = "课程号不可为空！")
    private Integer sage;
    @NotNull(message = "课程号不可为空！")
    private String sdept;

    private String sid;

    private String saddress;

    private String stelephonenum;

    private List<Course> course;

    private List<Sc> sc;

    private Course course1;

    private Sc sc1;

    public String getSno() {
        return sno;
    }

    public void setSno(String sno) {
        this.sno = sno == null ? null : sno.trim();
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname == null ? null : sname.trim();
    }

    public String getSsex() {
        return ssex;
    }

    public void setSsex(String ssex) {
        this.ssex = ssex == null ? null : ssex.trim();
    }

    public Integer getSage() {
        return sage;
    }

    public void setSage(Integer sage) {
        this.sage = sage;
    }

    public String getSdept() {
        return sdept;
    }

    public void setSdept(String sdept) {
        this.sdept = sdept == null ? null : sdept.trim();
    }

    public String getSaddress() {
        return saddress;
    }

    public void setSaddress(String saddress) {
        this.saddress = saddress;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getStelephonenum() {
        return stelephonenum;
    }

    public void setStelephonenum(String stelephonenum) {
        this.stelephonenum = stelephonenum;
    }

    public List<Course> getCourse() {
        return course;
    }

    public void setCourse(List<Course> course) {
        this.course = course;
    }

    public List<Sc> getSc() {
        return sc;
    }

    public void setSc(List<Sc> sc) {
        this.sc = sc;
    }

    public Course getCourse1() {
        return course1;
    }

    public void setCourse1(Course course1) {
        this.course1 = course1;
    }

    public Sc getSc1() {
        return sc1;
    }

    public void setSc1(Sc sc1) {
        this.sc1 = sc1;
    }
}